﻿<%@ Page Language="vb" AutoEventWireup="false" CodeBehind="EditAnswer.aspx.vb" Inherits="Training.EditAnswer" %>

<%@ Register assembly="AjaxControlToolkit" namespace="AjaxControlToolkit" tagprefix="cc1" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
<title>Training - Training:: Edit Quiz Answers</title>
<link rel="Stylesheet" type="text/css" media="screen" href="../css/adminStyle.css" />
</head>
<body>
    <form id="form1" runat="server">
    <asp:ScriptManager ID="ScriptManager1" runat="server">
    </asp:ScriptManager>
    <div class="ctr">
        <h2>Edit/Delete Quiz Answer</h2>
        <div style="width:350px;text-align:left;margin:0 auto;" class="small">
            Editing/Deleting an answer is discouraged unless it is to fix a spelling error. 
            Answers already in use and recorded could cause errors later if they 
            are changed or removed. Use this control with caution.
        </div>
        
        <div style="width:500px;text-align:left;margin:0 auto;" class="text">
            <div class="row">
                <div class="full">
                    Answer: 
                    <asp:RequiredFieldValidator ID="rfAnswer" runat="server" 
                        ErrorMessage="required" ControlToValidate="tbAnswer" CssClass="small" 
                        Display="Dynamic"></asp:RequiredFieldValidator><br />
                    <asp:TextBox ID="tbAnswer" CssClass="formfield" Width="400" runat="server"></asp:TextBox>
                </div>
                <div class="clr"></div>
            </div>
            
            <div class="row">
                <div class="full">
                    <asp:Button ID="btnEdt" runat="server" Text="Edit Answer" CssClass="button" />
                    &nbsp;
                    <asp:Button ID="btnDel" runat="server" Text="Delete Answer" CssClass="button" CausesValidation="false" />
                    <cc1:ConfirmButtonExtender ID="btnDel_ConfirmButtonExtender" runat="server" 
                        ConfirmText="Are you sure you want to delete this answer?" Enabled="True" TargetControlID="btnDel">
                    </cc1:ConfirmButtonExtender>
                </div>
                <div class="clr"></div>
            </div>
        </div>
        
        <p><asp:Label ID="lblMsg" runat="server" Text=""></asp:Label></p>
        
        <p><a href="Answers.aspx">Answers</a></p>
        
        <p><a href="QuizControl.aspx">Quiz Control</a> - 
        <a href="Default.aspx">Admin Main</a></p>
    </div>
    </form>
</body>
</html>
